package com.lltt.study.service;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;

public interface ChatMemoryAssistant {
    /**
     * 带记忆缓存的对话接口
     * @param userId
     * @param prompt
     * @return
     */
    String chatWithMemory(@MemoryId Long userId, @UserMessage String prompt);
}
